package com.edu.study.base.stuProductItemTemplate.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品组件库对象 stu_product_item_template
 * 
 * @author zw
 * @date 2021-05-11
 */
public class StuProductItemTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    private String productItemTemplateId;

    /** $column.columnComment */
    @Excel(name = "编号")
    private String itemNo;

    /** $column.columnComment */
    @Excel(name = "名称")
    private String itemName;

    /** 描述 */
    @Excel(name = "描述")
    private String itemRemark;

    /** 题型 */
    @Excel(name = "题型ID")
    private String questionTypeId;

    @Excel(name = "题型名称")
    private String questionTypeName;

    /** 启用状态 */
    @Excel(name = "启用状态")
    private String itemStatus;

    /** 父级 */
    @Excel(name = "父级")
    private String parentId;

    @Excel(name = "父级模板")
    private String parentItemCatalogId;

    /** 1：是 2：否  */
    @Excel(name = "是否目录")
    private String ifCatalog;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    /** 删除标记(0:正常 1:删除 2:审核中) */
    private String delFlag;


    public String getProductItemTemplateId() {
        return productItemTemplateId;
    }

    public void setProductItemTemplateId(String productItemTemplateId) {
        this.productItemTemplateId = productItemTemplateId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getItemStatus() {
        return itemStatus;
    }

    public void setItemStatus(String itemStatus) {
        this.itemStatus = itemStatus;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setItemNo(String itemNo) 
    {
        this.itemNo = itemNo;
    }

    public String getItemNo() 
    {
        return itemNo;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setItemRemark(String itemRemark) 
    {
        this.itemRemark = itemRemark;
    }

    public String getItemRemark() 
    {
        return itemRemark;
    }
    public void setQuestionTypeId(String questionTypeId) 
    {
        this.questionTypeId = questionTypeId;
    }

    public String getQuestionTypeId() 
    {
        return questionTypeId;
    }
    public void setParentItemCatalogId(String parentItemCatalogId) 
    {
        this.parentItemCatalogId = parentItemCatalogId;
    }

    public String getQuestionTypeName() {
        return questionTypeName;
    }

    public void setQuestionTypeName(String questionTypeName) {
        this.questionTypeName = questionTypeName;
    }

    public String getParentItemCatalogId()
    {
        return parentItemCatalogId;
    }
    public void setIfCatalog(String ifCatalog) 
    {
        this.ifCatalog = ifCatalog;
    }

    public String getIfCatalog() 
    {
        return ifCatalog;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemNo", getItemNo())
            .append("itemName", getItemName())
            .append("itemRemark", getItemRemark())
            .append("questionTypeId", getQuestionTypeId())
            .append("parentItemCatalogId", getParentItemCatalogId())
            .append("ifCatalog", getIfCatalog())
            .append("createDate", getCreateDate())
            .append("createBy", getCreateBy())
            .append("updateDate", getUpdateDate())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
